package com.wk.code.wkserver.config;

import com.wk.code.wkserver.response.result.R;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

/**
 * @author: wangqiang
 * @create: 2021-08-19 15:37
 */
@Component
public class RestTemplateConfig {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
